<?php
/**
 * Copyright (C) Alibaba Cloud Computing
 * All rights reserved
 */

require_once realpath(dirname(__FILE__) . '/Request.php');

/**
 * The request used to get logs by a query from log service.
 *
 * @author log service dev
 */
class Aliyun_Log_Models_GetLogtailRequest extends Aliyun_Log_Models_Request
{

    /**
     * @var string user defined query
     */
    private $logstore;
    private $name;

    /**
     * Aliyun_Log_Models_GetProjectLogsRequest Constructor
     * @param string $query
     *            user defined query
     */
    public function __construct($project, $logstore, $name)
    {
        parent::__construct($project);

        $this->logstore = $logstore;
        $this->name     = $name;
    }

    public function getLogstore()
    {
        return $this->logstore;
    }

    public function getName()
    {
        return $this->name;
    }
}
